package com.laboratory.math;

import java.util.HashMap;
import java.util.Map;

public class Test {

	public static final  Map<String, Object> map = new HashMap(){{
		put("aa","11");
		put("bb", "22");
	}};

public static void main(String []args) {
	int a_start = 2;
	int a_end = 4;
	int b_start = 5;
	int b_end = 10;
	if (MathUtils.max(a_start, b_start) <= MathUtils.min(a_end, b_end)) {
		System.out.printf("区间存在重叠交叉！");

	}

	if (a_end < b_start || b_end < a_start) {
		System.out.printf("无重叠");
	} else {
		System.out.printf("====区间存在重叠交叉！");
	}

	StringBuilder sdsfds = new StringBuilder("sdsfds");
	System.out.println("sdsfds = " + sdsfds);
	sdsfds.setLength(0);
	System.out.println("sdsfds = " + sdsfds);
	System.out.println(map.size());
	map.put("cc", "33");
	System.out.println(map.size());

}



}
